﻿using MediatR;
using ProductionLine.ErrorCode;
using ProductionLine.Extensions;

namespace ProductionLine.API.Application.Command.Plan.Read
{
    public class GetPlanCommand:IRequest<APIPaging<List<PlanDTO>>>
    {
        public string? PlanCode { get; set; }
        /// <summary>
        /// 来源类型
        /// </summary>
        public int? Resource { get; set; } = 0;
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 计划状态
        /// </summary>
        public int? PlanState { get; set; } = 0;
        public int pageIndex { get; set; } = 1;
        public int pageSize { get; set; } = 15;
    }
}
